package com.chinasofti.map;

import java.util.HashMap;
import java.util.Map;

public class Demo01 {
    public static void main(String[] args) {
        Map<String,String> map = new HashMap<>();

        //put(K key , V value)
        map.put("K1","V1");
        map.put("K1","V2");
        map.put("K3","V3");
        map.put("K4","V3");
        map.put("K1","V5");
        //K不能重复


        System.out.println(map);
    }
}
